import React from 'react'
import WeaFnaWorkFlow from './components/fnaSpecial'
import fnaAllStore from './stores';
import { Provider,observer } from 'mobx-react';
import { Tools } from 'weaver-mobile';
import { withRouter,Route } from 'react-router-dom';
const getLocaleLabel = Tools.getLocaleLabel.bind(this, 'fna');

@withRouter
@observer
export default class WeaFna extends React.Component {

    componentDidMount() {
    }

	constructor(props) {
        super(props);
        const {fieldid,rowIndex,isDetailShow,baseRoute} = this.props;
        //this.fnaSpecialStore = new FnaSpecialStore({ route: baseRoute,id:`field${fieldid}_${rowIndex}` });
	}

    render() {
        return (
            <Provider {...fnaAllStore}>
                    <WeaFnaWorkFlow {...this.props}/>
            </Provider>
        )
    }
}